#include "MainWindow.h"
#include "connectpage.h"
#include "Tools/MqttClient.h"

#include <QMqttClient>
#include <QSqlDatabase>
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setStyleSheet(R"(
        QToolTip {
            background-color: #f5f5f5;
            color: #333333;
            border: 1px solid #ddd;
            padding: 6px 10px;
            font-family: "Microsoft YaHei";
            font-size: 12px;
            opacity: 180;
        }
    )");
    MainWindow m;
    m.show();

    return a.exec();
}
